package com.example.fucc.myapplication.utils;

public abstract class BaseDownLoadFileImpl implements IDownLoadFile {
    IDownLoadingLisener downLoadingLisener;
    ApiService apiService;
    public BaseDownLoadFileImpl setDownLoadingLisener(IDownLoadingLisener downLoadingLisener) {
        this.downLoadingLisener = downLoadingLisener;
        return this;
    }
    public BaseDownLoadFileImpl setApiService(ApiService apiService) {
        this.apiService = apiService;
        return this;
    }
    public interface IDownLoadingLisener {
        void onDownLoadFinsh();

        void onDownLoadFail();

        void onDownLoadProgress(int current, int toatal);
    }
}
